System, method and storage medium for a multi-mode memory buffer device

ABSTRACT

A multi-mode memory buffer device for use in various memory subsystem structures. The buffer device includes a packetized multi-transfer interface which is redriven to permit connection between a first memory assembly and cascaded memory assemblies. The buffer device also includes a memory interface adapted to connect to either a second memory assembly or directly to memory devices.

BACKGROUND OF THE INVENTION

The invention relates to memory subsystems and in particular, to a buffered memory module interface device with multiple operating modes.

Computer memory subsystems have evolved over the years, but continue to retain many consistent attributes. Computer memory subsystems from the early 1980's, such as the one disclosed in U.S. Pat. No. 4,475,194 to LeVallee et al., of common assignment herewith, included a memory controller, a memory assembly (contemporarily called a basic storage module (BSM) by the inventors) with array devices, buffers, terminators and ancillary timing and control functions, as well as several point-to-point busses to permit each memory assembly to communicate with the memory controller via its own point-to-point address and data bus. FIG. 1 depicts an example of this early 1980 computer memory subsystem with two BSMs, a memory controller, a maintenance console, and point-to-point address and data busses connecting the BSMs and the memory controller.

FIG. 2, from U.S. Pat. No. 5,513,135 to Dell et al, of common assignment herewith, depicts an early synchronous memory module, which includes synchronous dynamic random access memories (DRAMs) 8, buffer devices 12, an optimized pinout, an interconnect and a capacitive decoupling method to facilitate operation. The patent also describes the use of clock re-drive on the module, using such devices as phase lock loops (PLLs).

FIG. 3, from U.S. Pat. No. 6,510,100 to Grundon et al, of common assignment herewith, depicts a simplified diagram and description of a memory subsystem 10 that includes up to four registered dual inline memory modules (DIMMs) 40 on a traditional multi-drop stub bus channel. The subsystem includes a memory controller 20, an external clock buffer 30, registered DIMMs 40, address bus 50, control bus 60 and a data bus 70 with terminators 95 on the address bus 50 and data bus 70.

FIG. 4 depicts a 1990's memory subsystem which evolved from the structure in FIG. 1 and included a memory controller 402, one or more high speed point-to-point channels 404, each connected to a bus-to-bus converter chip 406, and each having a synchronous memory interface 408 that enables connection to one or more registered DIMMs 410. In this implementation, the high speed, point-to-point channel 404 operated at twice the DRAM data rate, allowing the bus-to-bus converter chip 406 to operate one or two registered DIMM memory channels at the full DRAM data rate. Each registered DIMM included a PLL, registers, DRAMs, an electrically erasable programmable read-only memory (EEPROM) and terminators, in addition to other passive components.

As shown in FIG. 5, memory subsystems were often constructed with a memory controller connected either to a single memory module, or to two or more memory modules interconnected on a ‘stub’ bus. FIG. 5 is a simplified example of a multi-drop stub bus memory structure, similar to the one shown in FIG. 3. This structure offers a reasonable tradeoff between cost, performance, reliability and upgrade capability, but has inherent limits on the number of modules that may be attached to the stub bus. The limit on the number of modules that may be attached to the stub bus is directly related to the data rate of the information transferred over the bus. As data rates increase, the number and length of the stubs must be reduced to ensure robust memory operation. Increasing the speed of the bus generally results in a reduction in modules on the bus, with the optimal electrical interface being one in which a single module is directly connected to a single controller, or a point-to-point interface with few, if any, stubs that will result in reflections and impedance discontinuities. As most memory modules are sixty-four or seventy-two bits in data width, this structure also requires a large number of pins to transfer address, command, and data. One hundred and twenty pins are identified in FIG. 5 as being a representative pincount.

FIG. 6, from U.S. Pat. No. 4,723,120 to Petty, of common assignment herewith, is related to the application of a daisy chain structure in a multipoint communication structure that would otherwise require multiple ports, each connected via point-to-point interfaces to separate devices. By adopting a daisy chain structure, the controlling station can be produced with fewer ports (or channels), and each device on the channel can utilize standard upstream and downstream protocols, independent of their location in the daisy chain structure.

FIG. 7 represents a daisy chained memory bus from U.S. Pat. No. 6,317,352 to Halbert el al., implemented consistent with the teachings in U.S. Pat. No. 4,723,120. The memory controller 111 is connected to a memory bus 315, which further connects to module 310 a. The information on bus 315 is re-driven by the buffer on module 310 a to the next module, 310 b, which further re-drives the bus 315 to module positions denoted as 310 n. Each module 310 a includes a DRAM 311 a and a buffer 320 a. The bus 315 may be described as having a daisy chain structure, with each bus being point-to-point in nature.

As storage systems evolve and become faster and denser, customers are often required to convert all of their storage devices connected to a particular subsystem to the new technology in order to take advantage of the increased speed and density.

BRIEF SUMMARY OF THE INVENTION

Exemplary embodiments of the present invention include various memory subsystem structures, each using a common multi-mode memory buffer device. The buffer device includes a packetized multi-transfer interface which is redriven to permit connection between a first memory assembly and cascaded memory assemblies. The buffer device also includes a memory interface adapted to connect to either a second memory assembly or directly to memory devices.

Further exemplary embodiments include a programmable memory address, command and data buffer device. The buffer device includes instructions to adapt the buffer device for direct attachment to a memory module to enable a buffered memory module mode of operation. The buffer device also includes selectable modes to adapt the buffer device for connection to at least one unbuffered memory module or at least one registered memory module to enable a bus converter mode of operation.

Further exemplary embodiments include a bus to bus converter device having more than one operating mode. The device includes instructions to convert a serialized packetized bus into a parallel memory bus. The device is attached to a standalone buffered memory module or the device is attached to a system board to permit attachment to an unbuffered memory module or to a registered memory module.

Additional exemplary embodiments include a method for providing a buffered memory device with multiple operating modes. The method includes receiving an input signal at the buffered memory device. The method also includes determining a mode associated with the input signal, where the mode identifies a type of memory module. The signal is transmitted to a memory assembly in a format corresponding to the mode.

Additional exemplary embodiments include a storage medium encoded with machine readable computer program code for providing a buffered memory device with multiple operating modes. The storage medium includes instructions for causing a computer to implement a method. The method includes receiving an input signal at the buffered memory device. The method also includes determining a mode associated with the input signal, where the mode identifies a type of memory module. The signal is transmitted to a memory assembly in a format corresponding to the mode.

BRIEF DESCRIPTION OF THE DRAWINGS

Referring now to the drawings wherein like elements are numbered alike in the several FIGURES:

FIG. 1 depicts a prior art memory controller connected to two buffered memory assemblies via separate point-to-point links;

FIG. 2 depicts a prior art synchronous memory module with a buffer device;

FIG. 3 depicts a prior art memory subsystem using registered DIMMs;

FIG. 4 depicts a prior art memory subsystem with point-to-point channels, registered DIMMs, and a 2:1 bus speed multiplier;

FIG. 5 depicts a prior art memory structure that utilizes a multidrop memory ‘stub’ bus;

FIG. 6 depicts a prior art daisy chain structure in a multipoint communication structure that would otherwise require multiple ports;

FIG. 7 depicts a prior art daisy chain connection between a memory controller and memory modules;

FIG. 8 depicts a cascaded memory structure that is utilized by exemplary embodiments of the present invention;

FIG. 9 depicts a memory structure with cascaded memory modules and unidirectional busses that is utilized by exemplary embodiments of the present invention;

FIG. 10 depicts a buffered memory module that is utilized by exemplary embodiments of the present invention;

FIG. 11 is a block diagram of a multi-mode buffer device high level logic flow as utilized by exemplary embodiments of the present invention;

FIG. 12 is a table that includes typical applications and operating modes of exemplary buffer devices;

FIG. 13 is a simplified block diagram of a buffered DIMM produced with a multi-mode buffer device that may be utilized by exemplary embodiments of the present invention;

FIG. 14 is a simplified block diagram of a buffered DIMM produced with a multi-mode buffer device that may be utilized by exemplary embodiments of the present invention;

FIG. 15 is a block diagram of a board-mounted buffer device that may be utilized by exemplary embodiments of the present invention; and

FIG. 16 is a block diagram of a board-mounted buffer device that may be utilized by exemplary embodiments of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Exemplary embodiments of the present invention include a flexible, high speed and high reliability memory system architecture and interconnect structure that includes a single-ended point-to-point interconnection between any two high speed communication interfaces. The memory subsystem may be implemented in one of several structures, depending on desired attributes such as reliability, performance, density, space, cost, component re-use and other elements. The bus-to-bus converter chip, of the present invention, enables this flexibility through the inclusion of multiple, selectable memory interface modes. This maximizes the flexibility of the system designers in defining optimal solutions for each application, while minimizing product development costs and maximizing economies of scale through the use of a common device. In addition, exemplary embodiments of the present invention provide a migration path that allows a system to implement a mix of buffered memory modules and unbuffered and/or registered memory modules from a common buffer device.

Memory subsystems may utilize a buffer device to support buffered memory modules (directly connected to a memory controller via a packetized, multi-transfer interface with enhanced reliability features) and/or existing unbuffered or registered memory modules (in conjunction with the identical buffer device programmed to operate in a manner consistent with the memory interface defined for those module types). A memory subsystem may communicate with buffered memory modules at one speed and with unbuffered and registered memory modules at another speed (typically a slower speed). Many attributes associated with the buffered module structure are maintained, including the enhanced high speed bus error detection and correction features and the memory cascade function. However, overall performance may be reduced when communicating with most registered and unbuffered DIMMs due to the net topologies and loadings associated with them.

FIG. 8 depicts a cascaded memory structure that may be utilized by exemplary embodiments of the present invention when buffered memory modules 806 (e.g., the buffer device is included within the memory module 806) are in communication with the memory controller 802. This memory structure includes a memory controller 802 in communication with one or more memory modules 806 via a high speed point-to-point bus 804. Each bus 804 in the exemplary embodiment depicted in FIG. 8 includes approximately fifty high speed wires for the transfer of address, command, data and clocks. By using point-to-point busses as described in the aforementioned prior art, it is possible to optimize the bus design to permit significantly increased data rates, as well as to reduce the bus pincount by transferring data over multiple cycles. Whereas FIG. 4 depicts a memory subsystem with a two to one ratio between the data rate on any one of the busses connecting the memory controller to one of the bus converters (e.g., to 1,066 Mb/s per pin) versus any one of the busses between the bus converter and one or more memory modules (e.g., to 533 Mb/s per pin), an exemplary embodiment of the present invention, as depicted in FIG. 8, provides a four to one bus speed ratio to maximize bus efficiency and minimize pincount.

Although point-to-point interconnects permit higher data rates, overall memory subsystem efficiency must be achieved by maintaining a reasonable number of memory modules 806 and memory devices per channel (historically four memory modules with four to thirty-six chips per memory module, but as high as eight memory modules per channel and as few as one memory module per channel). Using a point-to-point bus necessitates a bus re-drive function on each memory module, to permit memory modules to be cascaded such that each memory module is interconnected to other memory modules as well as to the memory controller 802.

FIG. 9 depicts a memory structure with cascaded memory modules and unidirectional busses that is utilized by exemplary embodiments of the present invention if all of the memory modules 806 are buffered memory modules 806. One of the functions provided by the memory modules 806 in the cascade structure is a redrive function to send signals on the memory bus to other memory modules 806 or to a memory controller 802. FIG. 9 includes a memory controller 802 and four memory modules 806 a, 806 b, 806 c and 806 d, on each of two memory busses (a downstream memory bus 904 and an upstream memory bus 902), connected to the memory controller 802 in either a direct or cascaded manner. Memory module 806 a is connected to the memory controller 802 in a direct manner. Memory modules 806 b, 806 c and 806 d are connected to the controller 802 in a cascaded manner.

An exemplary embodiment of the present invention includes two uni-directional busses between the memory controller 802 and memory module 806 a (“DIMM #1”) as well as between each successive memory module 806 b-d (“DIMM #2”, “DIMM #3” and “DIMM #4”) in the cascaded memory structure. The downstream memory bus 904 is comprised of twenty-two single-ended signals and a differential clock pair. The downstream memory bus 904 is used to transfer address, control, data and error code correction (ECC) bits downstream from the memory controller 802, over several clock cycles, to one or more of the memory modules 806 installed on the cascaded memory channel. The upstream memory bus 902 is comprised of twenty-three single-ended signals and a differential clock pair, and is used to transfer bus-level data and ECC bits upstream from the sourcing memory module 806 to the memory controller 802. Using this memory structure, and a four to one data rate multiplier between the DRAM data rate (e.g., 400 to 800 Mb/s per pin) and the unidirectional memory bus data rate (e.g., 1.6 to 3.2 Gb/s per pin), the memory controller 802 signal pincount, per memory channel, is reduced from approximately one hundred and twenty pins to about fifty pins.

FIG. 10 depicts a front view 1006 and a back view 1008 of a buffered memory module 806 that is utilized by exemplary embodiments of the present invention. In exemplary embodiments of the present invention, each memory module 806 includes a blank card having dimensions of approximately six inches long by one and a half inches tall, eighteen DRAM positions, a multi-mode buffer device 1002, and numerous small components as known in the art that are not shown (e.g., capacitors, resistors, EEPROM.) In an exemplary embodiment of the present invention, the dimension of the card is 5.97 inches long by 1.2 inches tall. In an exemplary embodiment of the present invention, the multi-mode buffer device 1002 is located in the center region of the front side of the memory module 806, as depicted in the front view 1006 in FIG. 10. The synchronous DRAMS (SDRAMS) 1004 are located on either side of the multi-mode buffer device 1002, as well as on the backside of the memory module 806, as depicted in the back view 1008 in FIG. 10. The configuration may be utilized to facilitate high speed wiring to the multi-mode buffer device 1002 as well as signals from the buffer device to the SDRAMs 1004.

FIG. 11 is a block diagram of the high level logic flow of a multi-mode buffer device 1002 utilized by exemplary embodiments of the present invention. The multi-mode buffer device 1002 may be located on a memory module 806 as described previously and/or located on a system board or card to communicate with unbuffered and registered memory modules. The blocks in the lower left and right portions of the drawing (1124, 1128, 1130, 1134) are associated with receiving or driving the high speed bus 804. “Upstream” refers to the bus 902 passing information in the direction of the memory controller 802, and “downstream” refers to the bus 904 passing information away from the memory controller 802.

Referring to FIG. 11, data, command, address, ECC, and clock signals from an upstream memory assembly (i.e., a memory module 806) or a memory controller 802 are received from the downstream memory bus 904 into a receiver module 1124. The receiver functional block 1124 provides macros and support logic for the downstream memory bus 904 and, in an exemplary embodiment of the present invention includes support for a twenty-two bit, high speed, slave receiver bus. The receiver functional block 1124 transmits the clock signals to a clock logic and distribution functional block 1118 (e.g., to generate the four to one clock signals). The clock logic and distribution functional block 1118 also receives data input from the pervasive and miscellaneous signals 1110. These signals typically include control and setup information for the clock distribution PLL's, test inputs for BIST (built-in self-test) modes, programmable timing settings, etc. The receiver functional block 1124 transfers the data, command, ECC and address signals to a bus sparing logic block 1126 to reposition, when applicable, the bit placement of the data in the event that a spare wire utilized during the transmission from the previous memory assembly. In an exemplary embodiment of the present invention, the bus sparing logic block 1126 is implemented by a multiplexor to shift the signal positions, if needed. Next, the original or re-ordered signals are input to another bus sparing logic block 1136 to modify, or reorder if necessary, the signal placement to account for any defective interconnect that may exist between the current memory assembly and a downstream memory assembly. The original or re-ordered signals are then input to a driver functional block 1128 for transmission, via the downstream memory bus 904, to the next memory module 806 in the chain. In an exemplary embodiment of the present invention, the bus sparing logic 1136 is implemented using a multiplexor. The driver functional block 1128 provides macros and support logic for the downstream memory bus 904 and, in an exemplary embodiment of the present invention, includes support for the twenty-two bit, high speed, low latency cascade bus drivers.

In addition to inputting the original or re-ordered signals to the bus sparing logic 1136, the bus sparing logic 1126 also inputs the original or re-ordered signals into a downstream bus ECC functional block 1120 to perform error detection and correction for the frame. The downstream bus ECC functional block 1120 operates on any information received or passed through the multi-mode buffer device 1002 from the downstream memory bus 904 to determine if a bus error is present. The downstream bus ECC functional block 1120 analyzes the bus signals to determine if it they are valid. Next, the downstream bus ECC functional block 1120 transfers the corrected signals to a command state machine 1114. The command state machine 1114 inputs the error flags associated with command decodes or conflicts to a pervasive and miscellaneous functional block 1110. The downstream and upstream modules also present error flags and/or error data (if any) to the pervasive and miscellaneous functional block 1110 to enable reporting of these errors to the memory controller, processor, service processor or other error management unit.

Referring to FIG. 11, the pervasive and miscellaneous functional block 1110 transmits error flags and/or error data to the memory controller 802. By collecting error flags and/or error data from each memory module 806 in the chain, the memory controller 802 will be able to identify the failing segment(s), without having to initiate further diagnostics, though additional diagnostics may be completed in some embodiments of the design. In addition, once an installation selected threshold (e.g., one, two, ten, or twenty) for the number of failures or type of failures has been reached, the pervasive and miscellaneous functional block 1110, generally in response to inputs from the memory controller 802, may substitute the spare wire for the segment that is failing. In an exemplary embodiment of the present invention, error detection and correction is performed for every group of four transfers, thereby permitting operations to be decoded and initiated after half of the eight transfers, comprising a frame, are received. The error detection and correction is performed for all signals that pass through the memory module 806 from the downstream memory bus 904, regardless of whether the signals are to be processed by the particular memory module 806. The data bits from the corrected signals are input to the write data buffers 1112 by the downstream bus ECC functional block 1120.

The command state machine 1114 also determines if the corrected signals (including data, command and address signals) are directed to and should be processed by the memory module 806. If the corrected signals are directed to the memory module 806, then the command state machine 1114 determines what actions to take and may initiate DRAM action, write buffer actions, read buffer actions or a combination thereof. Depending on the type of memory module 806 (buffered, unbuffered, registered), the command state machine 1114 selects the appropriate drive characteristics, timings and timing relationships. The write data buffers 1112 transmit the data signals to a memory data interface 1106 and the command state machine 1114 transmits the associated addresses and command signals to a memory command interface 1108, consistent with the DRAM specification. The memory data interface 1106 reads from and writes memory data 1142 to a memory device. The data timing relationship to the command is different depending on the type of memory module 806. For example, when the memory data interface 1106 issues a command to a registered DIMM memory module 806, the command takes an extra clock cycle as compared to a command issued to an unbuffered DIMM memory module 806. In addition, the memory command interface 1108 outputs six differential clocks on twelve wires. To support the use of both unbuffered and registered memory modules 806, the memory a outputs 1104 and the memory b outputs 1102 from the memory command interface 1108 can be logically configured based on the type of memory module 806. For example, when the multi-mode memory device is in communication with two unbuffered DIMM memory modules 806, the memory a outputs 1104 may be directed to the first unbuffered DIMM memory module 806 and the memory b outputs 1102 may be directed to the second unbuffered DIMM memory module 806.

Data signals to be transmitted to the memory controller 802 may be temporarily stored in the read data buffers 1116 after a command, such as a read command, has been executed by the memory module 806, consistent with the memory device ‘read’ timings. The read data buffers 1116 transfer the read data into an upstream bus ECC functional block 1122. The upstream bus ECC functional block 1122 generates check bits for the signals in the read data buffers 1116. The check bits and signals from the read data buffers 1116 are input to the upstream data multiplexing functional block 1132. The upstream data multiplexing functional block 1132 merges the data on to the upstream memory bus 902 via the bus sparing logic 1138 and the driver functional block 1130. If needed, the bus sparing logic 1138 may re-direct the signals to account for a defective segment between the current memory module 806 and the upstream receiving module (or memory controller). The driver functional block 1130 transmits the original or re-ordered signals, via the upstream memory bus 902, to the next memory assembly (i.e., memory module 806) or memory controller 802 in the chain. In an exemplary embodiment of the present invention, the bus sparing logic 1138 is implemented using a multiplexor to shift the signals. The driver functional block 1130 provides macros and support logic for the upstream memory bus 902 and, in an exemplary embodiment of the present invention, includes support for a twenty-three bit, high speed, low latency cascade driver bus.

Data, clock and ECC signals from the upstream memory bus 902 are also received by any upstream multi-mode buffer device 1002 in any upstream memory module 806. These signals need to be passed upstream to the next memory module 806 or to the memory controller 802. Referring to FIG. 11, data, ECC and clock signals from a downstream memory assembly (i.e., a memory module 806) are received on the upstream memory bus 902 into a receiver functional block 1134. The receiver functional block 1134 provides macros and support logic for the upstream memory bus 902 and, in an exemplary embodiment of the present invention includes support for a twenty-three bit, high speed, slave receiver bus. The receiver functional block 1134 passes the data and ECC signals, through the bus sparing functional block 1140, to the upstream data multiplexing functional block 1132 and then to the bus sparing logic block 1138. The signals are transmitted to the upstream memory bus 902 via the driver functional block 1130.

In addition to passing the data and ECC signals to the upstream data multiplexing functional block 1132, the bus sparing functional block 1140 also inputs the original or re-ordered data and ECC signals to the upstream bus ECC functional block 1122 to perform error detection and correction for the frame. The upstream bus ECC functional block 1122 operates on any information received or passed through the multi-mode buffer device 1002 from the upstream memory bus 902 to determine if a bus error is present. The upstream bus ECC functional block 1122 analyzes the data and ECC signals to determine if they are valid. Next, the upstream bus ECC functional block 1122 transfers any error flags and/or error data to the pervasive and miscellaneous functional block 1110 for transmission to the memory controller 802. In addition, once a pre-defined threshold for the number or type of failures has been reached, the pervasive and miscellaneous functional block 1110, generally in response to direction of the memory controller 802, may substitute the spare segment for a failing segment.

The block diagram in FIG. 11 is one implementation of a multi-mode buffer device 1002 that may be utilized by exemplary embodiments of the present invention. Other implementations are possible without departing from the scope of the present invention.

FIG. 12 is a table that includes typical applications and operating modes of exemplary buffer devices. Three types of buffer modes 1208 are described: buffered DIMM 1202; registered DIMM 1204; and unbuffered DIMM 1206. The “a” and “b” bus that are output from the memory command interface 1108 can be logically configured to operate in one or more of these modes depending on the application. The table includes: a ranks column 1210 that contains the number of ranks per DIMM; a chip select (CS) column that contains the number of buffer CS outputs used, in addition to the loads per CS; a clock column 1214 that contains the number of buffer clock pairs used and the loads per clock pair; and a miscellaneous column 1216 that includes wiring topology information. A load refers to a receiver input to a DRAM, register, buffer, PLL or appropriate device on the memory module 806.

As indicated in FIG. 12, the buffered DIMM implementation supports up to nine memory devices per rank, with each device having an eight bit interface (seventy-two bits total). If all eight ranks are populated on a given module constructed of current one gigabit devices, the total memory density of the module will be eight gigabytes. As evident by the table entries under the CS column 1212 (the CS is generally utilized on DIMMs as a rank select to activate all the memory devices in the rank) and the clock column 1214, the varying loads and net structures require different driver characteristics (e.g., drive strength) for the multi-mode buffer device 1002. In addition, as the registered DIMMs generally add a single clock delay on all inputs that pass through the register on the DIMM (address and command inputs), the multi-mode buffer device 1002 needs to accommodate the extra clock of latency by ensuring accurate address and command-to-data timings. Further, the unbuffered DIMMs, as well as the heavily loaded buffered DIMM applications often require two-transition (2T) addressing, due to heavy loading on address and certain command lines (such as row address strobe (RAS), column address strobe (CAS) and write enable (WE)). In the latter case, the buffer operates such that these outputs are allowed two clock cycles to achieve and maintain a valid level prior to the CS pin being driven low to capture these DRAM inputs and initiate a new action.

The terms “net topology” in FIG. 12 refer to a drawing and/or textual description of a wiring interconnect structure between two or more devices. A “fly-by-topology” is a wiring interconnect structure in which the source (driver) is connected to two or more devices that are connected along the length of a wire, that is generally terminated at the far end, where the devices along the wire receive the signal from the source at a time that is based on the flight time through the wire and the distance from the source. A “T” net topology is a wiring interconnect structure that includes a source (driver) that is connected to two or more devices through a wire that branches or splits. Each branch or split is intended to contain similar wire length and loading. In general, a single wire will split into two branches from a single branch point, with each branch containing similar line length and loading. Inputs wired to a single register or clock are generally considered to be point-to-point. Inputs wired to multiple registers or PLLs are generally wired in a “T” net structure so that each receiver receives the input at approximately the same time, with a similar waveform. The “T” nets defined above are typically not end-terminated, but generally include a series resistor termination in the wire segment prior to the branch point.

FIG. 13 is a simplified block diagram of a buffered DIMM memory module with the multi-mode buffer device 1002 that may be utilized by exemplary embodiments of the present invention. It provides an example of the net structures and loading associated with a two rank buffered DIMM produced with eighteen, DDR2 eight bit memory devices, consistent with the information in the table in FIG. 12. The CS and clock signals are wired in a fly-by structure, the lines shown in the drawing from the mainline wire to each memory device appear to be long only to simplify the drawing. The fly-by net end-termination is not shown, but is included in the exemplary embodiment.

FIG. 14 is a simplified block diagram of a buffered DIMM memory module 806 produced with a multi-mode buffer device 1002 that may be utilized by exemplary embodiments of the present invention. It provides an example of the net structures and loading associated with an eight rank buffered DIMM memory module 806 produced with eight bit memory devices, consistent with the information in the table in FIG. 12. Each CS output controls nine memory devices (seventy-two bits) in this example, whereas each CS controls four or five (thirty-two to forty bits) in FIG. 13.

FIG. 15 is a block diagram of a board-mounted multi-mode buffer device 1002 that may be utilized by exemplary embodiments of the present invention. FIG. 15 demonstrates the use of the multi-mode buffer device 1002 (the same one discussed previously with regard to buffered memory modules 806) as a board-mounted bus-to-bus converter chip, attached to one or two unbuffered or registered DIMM memory modules 806. The multi-mode buffer device 1002 includes a selection means to adapt the buffer device 1002 for direct attachment to a memory module 806 to enable a buffered memory module mode of operation or to adapt the buffer device 1002 for counection to at least one of an unbuffered memory module and a registered memory module to enable a bus converter mode of operation. In an exemplary embodiment, the buffered memory module mode of operation utilizes a packetized multi-transfer interface that is adapted to connect a first memory assembly (e.g., a buffered memory module or controller) to a cascade interconnect system via the cascade bus 1506; and the bus converter mode of operation utilizes a bus converter adapted to connect a second memory assembly (e.g., a registered or unbuffered memory module) to a parallel memory interface bus (e.g., the same one used by the memory data 1142 and one or both of the memory a outputs 1504 and the memory b outputs 1102). The selection means may be implemented in hardware and/or software. In addition a cascade bus 1506 is available from the buffer (or exists on the buffer) and can be connected to a buffered DIMM memory module 806 or via another multi-mode buffer device 1002, to sockets intended for either a second one or two unbuffered or registered DIMM memory modules 806. In this example, the memory a outputs 1504 (also referred to herein as memory a outputs 1104) are connected to the first DIMM position and the memory b outputs 1102 are connected to the second DIMM position, and one or both DIMM positions may be populated based on the application requirements. In addition, the memory data 1142 is connected to both memory modules 806 in FIG. 15, generally as a conventional multi-drop net. An upstream receiver functional block 1124 and a downstream driver functional block 1128 are contained in the driver/receiver functional block 1502 within the memory controller 802. An upstream receiver functional block 1124, an upstream driver functional block 1130, a downstream driver functional block 1128 and a downstream receiver functional block 1134 are included in the multi-mode buffer device 1002 as depicted in FIG. 11. The upstream memory bus 902 and the downstream memory bus 904 are utilized to transfer data, commands, address and clock data between the memory controller 802 and the multi-mode buffer device 1002.

FIG. 16 is a block diagram of a board-mounted buffer device that may be utilized by exemplary embodiments of the present invention. FIG. 16 depicts the use of the multi-mode buffer device 1002 (the same one discussed previously with regard to buffered memory modules 806) as a board-mounted bus-to-bus converter chip with four memory busses connected from a memory controller to four bus-to-bus converter chips, or buffer devices 1002. Each of the buffer devices 1002 is further shown to connect to up to two unbuffered memory modules 806 or up to two registered DIMM memory modules 806, although it is possible to operate the system with as few as one to two total memory modules 806 attached to one or two of the high speed memory busses. This structure also permits a cascade port from each multi-mode buffer device 1002 to another buffer device or to a buffered memory module 806 although this connection is not shown for simplicity. As with FIG. 15, the memory a outputs 1104 are connected to the first DIMM memory module 806 position and the memory b outputs 1102 are connected to the second DIMM memory module 806 position. The memory data 1142 is connected to both DIMM memory modules 806, generally as a conventional multi-drop net.

The memory configurations depicted in FIGS. 15 and 16 are exemplary in nature and other memory configurations including unbuffered memory modules 806, registered memory modules 806 and buffered memory modules 806 are possible when utilizing the multi-mode buffer device 1002 described herein.

Exemplary embodiments of the present invention provide a multi-mode buffer device 1002 that may be implemented in one of several structures, depending on desired attributes such as reliability, performance, density, space, cost, component re-use and other elements. A bus-to-bus converter module/chip provides this flexibility through the inclusion of multiple, selectable memory interface modes. This may be utilized to maximize the flexibility of the system designers in defining optimal solutions for each installation, while minimizing product development costs and maximizing economies of scale through the use of a common device. In addition, exemplary embodiments of the present invention may be utilized to provide a migration path that allows an installation to implement a mix of buffered memory modules and unbuffered and/or registered memory modules from a common buffer device.

As described above, the embodiments of the invention may be embodied in the form of computer-implemented processes and apparatuses for practicing those processes. Embodiments of the invention may also be embodied in the form of computer program code containing instructions embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. The present invention can also be embodied in the form of computer program code, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.

While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc. are used to distinguish one element from another. 

1. A method for providing a buffer device with multiple operating modes, the method comprising: receiving one or more clock inputs at the buffer device, the buffer device including a first memory interface adapted to connect the buffer device to a cascaded interconnect system though an upstream memory bus and a downstream memory bus, and the buffer device including a second memory interface having two or more selectable modes of operation and one or more second clock lines for driving one or more second clocks derived from the one or more clock inputs; receiving an input signal at the buffer device; determining a mode associated with the input signal, the modes including: a first mode for communicating with one or more synchronous memory devices; and a second mode for communicating with one or more second memory assemblies including one or more of unbuffered and registered memory assemblies, wherein at least one of the second memory assemblies requires that the buffer device communicate with the second memory assembly using one or both of drive strength and timing characteristics that differ from those used to communicate with the synchronous memory devices connected to the first memory assembly in the first mode of operation, the timing characteristics including one or more of read data, write data, address and command timing relationships relative to the one or more second clock; and transmitting the input signal to a synchronous memory device or to a second memory assembly in a format corresponding to the mode.
 2. The method of claim 1 wherein one of the second memory assemblies is an unbuffered memory assembly.
 3. The method of claim 2 wherein the timing characteristics further include read or write data relative to one of the second clocks.
 4. The method of claim 1 wherein one of the second memory assemblies is a registered memory assembly.
 5. The method of claim 4 wherein in the second mode of operation there is a reduced drive strength for the addresses relative to the first mode of operation.
 6. The method of claim 1 wherein the buffer device is operable with two or more registered memory assemblies or two or more unbuffered memory assemblies.
 7. The method of claim 1 wherein one of the second clocks is redriven on the registered memory assemblies.
 8. The method of claim 7 wherein the registered memory assembly provides a maximum of two loads per second clock.
 9. The method of claim 1 wherein the buffer device communicates with memory devices that are interconnected to each other using different wiring topologies.
 10. The method of claim 1 wherein in the second mode of operation, data arrives at the buffer device at least one clock later in relationship to a command than in the first mode of operation. 